# 【【python初级】 os.path.basename(path)返回路径最后的文件名】https://blog.csdn.net/jn10010537/article/details/121662855

import os
path = r'E:\E04_libtorch\TEST_TEMP\x64\Release\config.json'
print(os.path.basename(path)) # config.json
